package di

import (
	"fmt"
	"io"
	"os"
)

func Greet(writer io.Writer, name string) {
	fmt.Fprintf(writer, "Hello, %s", name)
}
//func MyGreeterHandler(w http.ResponseWriter, r *http.Request) {
//	Greet(w, "world")
//}
//
//func main() {
//	http.ListenAndServe(":5000", http.HandlerFunc(MyGreeterHandler))
//}

func main() {
	Greet(os.Stdout, "Elodie")
}